package com.wzcl.app.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

@EqualsAndHashCode(callSuper = false)
@Data
public class CoursePointDto extends BaseDto{

    @NotNull(message = "课程ID不能为空")
    @ApiModelProperty(name = "课程ID")
    private Integer courseId;

    @NotNull(message = "大纲名不能为空")
    @ApiModelProperty(name = "大纲名")
    private String name;

    @NotNull(message = "排序字段不能为空")
    @ApiModelProperty(name = "排序")
    private Integer orderNo;

    @ApiModelProperty(name = "时间段")
    private String date;

    @ApiModelProperty(name = "授课老师名")
    private String teacherName;
}
